package org.demo.base.classloader;

public class Cat {

    private static Tom tom = new Tom();

    private TomLittle tomLittle = new TomLittle();

    public Cat(){
        System.out.println("Cat 构造器执行。。。。");
    }

    {
        System.out.println("Cat 代码块执行。。。。");
    }
    static {
        System.out.println("Cat 静态代码块执行。。。。");
    }


    public static void eat(){
        System.out.println("Cat eat....");
    }



}
